package org.mx.dal.test.entity;

import org.mx.dal.annotation.ElasticField;
import org.mx.dal.annotation.ElasticIndex;
import org.mx.dal.entity.ElasticBaseDictEntity;

import co.elastic.clients.elasticsearch._types.mapping.Property.Kind;

@SuppressWarnings("javadoc")
@ElasticIndex("user")
public class UserEntityElastic extends ElasticBaseDictEntity {
    /**
	 * 
	 */
	private static final long serialVersionUID = -8060950535891976887L;
	@ElasticField(type = Kind.Long)
    private int age = 0;
    @ElasticField
    private String yt;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getYt() {
        return yt;
    }

    public void setYt(String yt) {
        this.yt = yt;
    }
}
